package com.huikaka.mapper;
import com.huikaka.entity.Award;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AwardMapper {
    @Select("select * from award where invite_code=#{inviteCode}")
    public List<Award> findAllAwardInfoByInviteCode(String inviteCode);
}
